import { $request } from "../../utils/request"

// 向服务器请求关注列表
export const getFans = ((id) => {
    return new Promise ((resolve, reject) => {
        $request({
            url:'fans?id=' + id,
            method:'GET',
        }).then((res) => {
            resolve(res)
        }).catch((err) => {
            reject(err)
        })
    })
})
